Add scale and rotate Functions