New option for resample, specify desired output dimension
Merge pull request #231 from khogenso/devel

New option for resample, specify desired output dimension