Removed sorting of result from hit/miss pattern generation. Also cosmetic changes.
Removed commented code from probability.py