Modifed Adam's interpolation code so that it does not rely on assumption
that the first contains weather data. (weather data may start at line 0,
1, 2 or 3.)
flexible data set size and endpoint considerations still required.