Moved code in the calcIndex function
Removed binary files