bug fix in k indexes
Merge pull request #36 from selvam1991/paper-fixes

bug fix in k indexes