The rotate and scale functions now also take an origin argument.