some cleanup and documentation of EP constant (fix to make EP=10 work) and renaming of some variables for simplicity and clarity. moench solution is now much closer to malama (not rigorously verified, though)