cleaned up iterations in trianglemeshde
implemented get edge index
computing inner slice of the pants
got farthest point on loop