Added new rotate method to Entity, still needs testing.