fix type in function name
fixed small problems; moved documentation in the class docstring
update ipython notebook documentation