Test and fix behaviour of pure Ruby probabilities to match C
Test from_h, and ensure both variants raise a TypeError if param is not a Hash
Exception-raising equivalence for pure Ruby and C probabilities
Adjust comments and error message