ver 0.8

Added documentation to source code