Changed to an example that uses row-by-row matrix and 0 indices