prelim cuda code for the various functions

Plug 'n Play!