Completed a first draft of the loadResampledData function that includes "fitted" as an option.