move CUDA staff out of MarchingCubes class
refactor PortProxy to include data type info
add a TYPE flag to hand the data type issue
not so good. should refactor to template if possible