Analysis of uncertainties and geometric tolerances in assemblies of parts