IMPROVEMENT OF MESH QUALITY USING A STATISTICAL APPROACH