Added function for rotating point around origin on XY plane