cpu and cuda programs pass valgrind and cuda-memcheck tests, respectively, on small data. They pass without obvious errors on large data (>30000 genes, 16 samples). Will run the gpu version for more iterations.