Removed named functions. Added transformations and rotations to the Canvas class.