Overhaul of interp.

Len functions changed to methods.  This allows some intermediate vaues to be
computed once and then interpolation done for multiple values.  Deltat and
rise updated accordingly.  (The change in the example output in deltat_test
is due to an earlier bug fix to interp.)