Reinforcement Learning for Orientation on the Lie Algebra