Repaired Matteo and the calculation of errors.