Mesh.java: better error for zero-length edges, and add numTriangles() method