Fix beta distribution when v < w and min, max != 0, 1.
Merge pull request #1 from colesbury/master

Fix beta distribution when v < w and min, max != 0, 1.