Fixed bug in `rates_isi`

As shown in #594. The function wasn't using the time of
the last spike, causing the rate before the last spike to be
stretched.
Oh yeah. I get it now. Thanks Jan.