Fixed Max.cu (wrong indices, and the test was not catching it)