Code to support CAS Conference Talk 2013