Fixing const correctness for euler angles method