interpolation method & image coordinates shift changes

image interpolation changed to cubic (instead of linear), also while
rotating. rounding changed to fix in calculating the center of the
image coordinates. image shift adjusted. still not sure, which
interpolation method to use in creating the downscaled ration data