fixed the minor bugs
updated documentation
updated documentation and usage