updated functions so that they will return the resampled fiber group