Scaling and rotation implemented.