Code cleanup
Fixed bug in logical operators
clone copies lattributes
Getting it to build
Documentation lfactor