started documentation, still need to implement

smallest rectangle for triangles