fixed cuda block/thread dimensions
minor makefile changes, debugging, freeing memory