Bugfix: When mask and nii data are within 1 unit of scale the correct data is now returned instead of the empty matrix that was returned before.  Improvements: Memory usage was greatly reduced.
Merging unbranched version, one with insigi changes.  Renorming.