Effective method of statistical tolerance analysis based on flatness mapping