Fix matrix::slice.