Add tolerance for std, different formula for mean tolerance