changed maxent.py, now it actually runs at least sort of