weights_beta function

Compute Beta weighting curves