Cuda indexed

Merge new code for cuda indexed mesh creation