Added serial code. Found issue when running gpu code on a 34MB picture. wrote memcheck.c to print available gpumemory, which is apparently way too small. This could be a memory leak issue? or maybe linux just uses ~500mb of gpu memory? compile memcheck.c with 'nvcc memcheck.c -o memcheck' to check on another system.