Added derivatives
Renamed cudaDef to cudaControl
Adjusted constop
Changed include
Added some inline
Changed include