Pasted the stable code from PR 1581 for the command line wrapper into dipy_align_affine.
Pasted the stable code from PR 1581 for the command line wrapper into dipy_align_affine.

FrancoisRheaultUS/dipy,FrancoisRheaultUS/dipy