are you testing with a 2d array y? It doesn't seem like it