matrix_get_neighbors function

Get neighboring cell values for given matrix cell