Fixing possible issue with the MatToEuler where gimble lock is taken care of in a better way.
Rewriting some of the CTF file reader code to more closely match the ANG H5 reader code.