Implemented Scaling

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