weibull function

Calculation of Weibull parameters