Check which pct is lower rather than whole number.
Corrected maths.
Crop the image once resized, centering it.
Implemented resizing code when the image is smaller than target.
Added in calculations for varying bigger/smaller sizes.
Added sub-module class. (Test run)
Test-case for sub modules created.
Finished work on sub module structuring.