Added rotation input and input scaling.