Tried to implement a better, more detailed, documentation for each function. Ticket #11 .