Implemented LineInformation method.

Implemented LineInformation method. Fixed some documentation and removed debug stuff.