new non-working version

This version doesn't work anymore after a sage update and my addition of zero initialized arrays.  I thought I got the zero initialied arrays back out, so I'm putting the last good realease of code back in and testing again.  Just saving the broken version here for comparison later.