Fixed typo, and therefore bug, in quaternion code.
Geometry of the reflection and transmissions for an interface at oblique incidence.