refactored volumedimension and init_mmLUT using loop through the image corners instead of 4 replications
WARNING - the changes to the calls to all the functions, using control_par, volume_par and calibration_par