Added index2 with 5 by 5 matrices