Removed Jeffrey MacMahon's code. Please contact him directly to get it (http://www.thecomputationalphysicist.com/.)