added all triangle functions
removed commented-out 'vertex-triangle' function