add LenExpand module, tidyup on docstring