Added parameter constraints to some distribution and the Beta function.