Begin C# implementation of mesh simplification