Added documentation
added figures to documentation.