Optimization of a constrained linear monochromator design for neutral atom beams.