Document lines

It would be good to have a short text documenting what each line does. The place for that documentation is likely better placed in python.

Edited by Daniel Hugo Campora Perez