A technical note on the bias in the estimation of the b-value and its uncertainty through the least squares technique