added docstring and type check to lv
Merge branch 'master' of https://github.com/paulchorley/elephant