Update variable name slightly
Add documentation and test for LCA
Run doctests if file is main