Made RandomRange less generic to avoid tricky edge cases, and moved it into mathsproblem package