Calibration of the Hyperspectral Imaging Polarimeter