Monochromator class with proper unit conversion