Tidy up formatting
Use Mat4D instead of a custom matrix type in XForm4x4