ENH: add sanity check for direction cosines


git-svn-id: https://svn.bigr.nl/elastix/trunkpublic@4747 4d348492-3962-11de-aa85-65a2020054a3