fixed mrtrix direction generator out file treatment. Depends on command
filename previous commit
updated tests
Merge branch 'pr/808'