modimage parfor version
parfor version of modimage
change distcal to support multi sizes of images