Adding documentation.
updated documentation for final publication