mrconvert fix axis insertion #977. PermuteAxes keeps track of indices of non-existent axes to allow looping. added dimensionality out of bounds check
mrconvert fix axis insertion #977. PermuteAxes keeps track of indices of non-existent axes to allow looping. added dimensionality out of bounds check

MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3,MRtrix3/mrtrix3