Documentation.

* added documentation for a couple of function.
* removed the diff function.
* added the ability to do a * x + b * y to the sum function.