More debugging

curve_fit can only take 400 calls at a time? So maybe we need to split
up the list somehow. Or use a different scaling method.