BetaDistribution function

A parametrized Beta Distribution