Quantitative Loss Simulation of Integrated Optic Waveguide Spectrometers