A grating calculator | StemPy Lab