Fixed variable naming issues in PlanarMesh