added tests for Rational class constructor, helpers, & comparisons
added tests for Rational class arithmetic & cast functions
fixed support for supplied probabilities in sim_compression (with arithmetic coding)
fixed calculation of dist_compression for arithmetic coding