Added generic functions to copy 1D, 2D, 3D fields from host to device, with option for offset/nooffset
Added generic functions for the backward copies
Merge branch 'master' into cuda

Conflicts:
	src/fields.cu
Fixed class names in fields.cu