Work around interp1d's weird edge handling

Closes #18 at least for now