trying to figure out bug
-pi is also recognized as a special value
making sure data is written; probably not needed
fixing nrrdApply1DSubstitution and unu subst
fixing bug that put extra newline at end of asc...
fixed bug caused by saving a 3D 1-by-X-by-Y arr...
fix from Adam J Shaw