Tidied up and commented apply rotation method in character controller