switching to device ptrs
all bugs fixed but converging too early. rename to cudaglmnet