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

This reverts commit 3375ac4f93a5b095f3f124f95d34dfa5e2c0880c.
Revert "Revert "Revert "added way of getting value at index from matrix"""

This reverts commit eaa3372686c703cb0b19da90e5f5fd89ec48c8db.
Revert "Revert "added way of getting value at index from matrix""

This reverts commit 3375ac4f93a5b095f3f124f95d34dfa5e2c0880c.
Revert "added way of getting value at index from matrix"

This reverts commit a35fc26211565e31542c75d24990265ed4d8b35d.