update docs, add tree length example