Crop geometry calculation
Cropping and resizing complete
Separate class for math stuffs

We’ll need this later.