Fix an off-by-two problem that was causing segfaults
An IPython notebook to do plotting and animation.