Move cuda version to 'cpp' directory (matlab merge)