ADD: stripped-down math parts from nifti1_io.c


git-svn-id: https://www.nitrc.org/svn/cmtk/trunk@5014 42a5c34f-2066-0410-bec5-ba365beb4995