Added optional physics (TriangleMesh) and fixed typos