Adding part of fit and rotate functions
Adding part of fit and rotate functions
Finalizing fit function, fixing draggable function, rotatable function still not implemented