Replace cudaFrees lost during the last merge
Move looping inside the GPU kernels

Otherwise, we'll have to copy from device to host and back again between each
kernel run. Also, not sequentially launching the kernel many thousands of
times helps.
Also copy 'weight' (in addition to 'out') after kernel run
Code cleanup part one

Mainly whitespace changes, cleanup of for loop and if statment bracketing, and
shuffling of comments.
Remove unused functions from support.h/cu
Add new kernel to check data integrity
GPU IS WORKING!!!! GAAAHH!!!
Attempt at adding a third dataset. It still has problems but I can't keep working on it right now.

Merge branch 'master' into addData

Conflicts:
	cuda/kernel.cu
	cuda/main.cu