I also made some minor changes to prior.py and result.py. Should not be a big deal
prior.py
result.py