The pythagorean theorem in quaternion and octonion spaces | Synapse