Feature/setops

polish/simplify code and change variable names in follow L/L that were a bit confusing