evaluate_index function

Compute all index values