Finished 2D crop, and added 1D crop as well

Seems to work as intended. Still needs more docs.