moved these to Rnvvm package
some manual changes to autogenerated code. Will be fixed later. Got the pitch to work and a higher-level version, currently in S4. Will modify to use the same list that cudaMallocPitch, etc. returns
S3 implementation for PitchMemory2D