Add integral_scale function and remove 'calc_' prefix from function names