added some routines used for dispersion measurement (white light)