added spec for each and each_stored_with_indices on sliced by reference dense matrices
fixed slice by reference issue with each and each_stored_with_indices