Code for the All Things Computational blog (http://fxmartins.com)