Added least squares method for calculating weibull parameters