Simple fix to the IP algorithm.

Committed the notebook. (we'll see how notebooks handle being shared across computers).