Added a GPU side accumulator that will be merged into the main GPU function.
Merged the accumulate with the main cuda function. TODO: Move the finding of the maximum value for the next iteration back to the CPU side.
Moved finding the maximum value in the residuals back to the CPU side.
Added cuda error checking to clean.cu and fixed comfft so that is only included once.
renamed clean.cu to deconv.cu and added deconv.h, which contains the error checking functions
Fixed shared memory issue
Moved nscore calculation over to CPU side
Removed the shared memory code.
Now compiles, but non-deterministic output
Added arr_size and code to handle the case that the dimensions of res are not a multiple of 16
Output now matches that of CPU deconv.
Moving nscore/argmax calculations onto GPU.
This version compiles, but gives different output
Commit before moving main loop from wrap_deconv.cpp insto deconv.cu
Moved the cudamallocs out of the inner loop
Fixed mallocs so the pointers are passed by reference, and switched indexing to match CPU side