Switched from sessionStorage to localStorage, and added conditional for IE's broken behaviour.  Improved binomial function to avoid arithmetic overflow (still room for improvement there, seems to zero at about 130).