niftyfit-interfaces: Added some minor additional functionality to niftyfit and reg_average