Clean-up
Edge probabilities
Interface changes
Bug fix?
Cap the probability to 1
Merge pull request #1 from wfunction/master

(Mostly-automated) code clean-up