Added extractTriangle method and tests.