Use sys.stderr.write instead of print >> sys.stderr
Convert commented out print statements into print functions

This isn't really important, but it cuts down on the
false-positives when searching with grep.
Use print function style in MaxEntropy