Modified bilinear interpolation, added cropping, increased smoothness of edges for upscaled images

- crop function added to Transforms
- only upscaled images are cropped - downsampled doesn't need it as much as upscaled