Implemented basic rotation, scaling and panning.