Since GpuArray_setarray now does this correctly, avoid the copy in the python wrapper.
Make a copy when the matrix is not contiguous so that we can accept any input.