Rotation and Scaling are done

Rotation and Scaling function as expected.

Also added  matrix multiplication method to get rid of all the
repetitive code