updated functions so that they will return the resampled fiber group
changed the name of the output for fgResampled