Quaternion learning tool