created view transformations class to preform rotations and perspective adjustment