Revert "added way of getting value at index from matrix"

This reverts commit a35fc26211565e31542c75d24990265ed4d8b35d.