gauss downsample fixes
gauss downsample fixes

* reads and writes niis
* fix resampling bug

saalfeldlab/template-building,saalfeldlab/template-building,saalfeldlab/template-building,saalfeldlab/template-building,saalfeldlab/template-building