Added XFM writing ability
Added .XFM writing support
merged with origin/master
Merge branch 'master' into mincANTS