memcpy of the device pointers to the host
forgot to malloc the testmap/coefs
fixed most of the problems. Test succeeds for c[0], c[1] still fails
fixed c[i] where i>0