In theory complete. Time to go engineer a test case that doesn't suck, so maybe it will just work. Also need IFDEFs to remove debugging from cuda code