cleaning up but now stuck on dumb quantopian error.  need to troubleshoot
quantopian doesn't handle asserts well.  silent error unless adding a comment to it.