fixed subscripting
improved readme
added more comments
fix typo