Patch and instructions for running our code in sage. Changes to our categories: doctests and minor changes.