fix fitting example to use correct interp() syntax