* Clean up some unused code
* Remove extra transition classes
* Refactor transitions slightly
* Tweak efficiency for perceptron, because Python 2.x is dumb.
* Switch to using numpy arrays in perceptron, to improve efficiency.
* Fix incompatibility with pypy: opening file inline is not supported.