Changed from templates to hardcoded double type
Calibrations are in vectors