Added cal_img and zero_trans to end result of  to zscore_img function.