first set of changes, no longer using non __device__ std functions. now need to refactor so nvcc will compile
Merge branch 'master' into cudaTransition

Conflicts:
	datatypes.h
added all __host__ __device__
got everything to compile with nvcc!!! now just need to fix the memory issues
fixed some bugs
bug in log2
Merge pull request #10 from programmingmind/cudaTransition

Cuda transition