Documentation added. Barplot modified.