Some work on methods needed to prepare data for fitting