Uncertainty Calculation of Flatness in Three-Dimensional Measurements