Fixed indexes, added tfIdf section

Closes #65, #47