Implemented Scaling

Scaling is implemented. Also a method to reset the model to its origin
form.
Implemented more transformations

Implemented:
- Rotation aroung global axis
- Translation on global axis
some minor fixes and clean ups.
Implemented some code fixes

Some fixes, some clean ups, some speed ups.
Minor fixes.

minor fixes to prevent crash.