Add calculateStepK and calculateMaxK to InterpolatedImage constructor
(#305)