Calibration procedure and wavelength correction for neutron depolarization experiments