Modify and improve range/scope of unit tests for Gaussian() and Beta() to check they throw errors on bad input.