Documenation added and fixed issue #14