Documentation and correction of function names
Readme added.