NF: re-write dipy_fit_tensor as function so that it can be called as a nipype
node
NF: added nipype interface for fit_tensor