Added support for spectral curvature. Fixes ratt-ru/calibration-pipelines#2.