Added calculation of euler and roll-pitch-yaw rotations. Closes #1