Modify `mprand' slightly. Add `mprand_range'.