                                  int      gridsize, 
                                  int      nbatch,
                                  int*     xpos,
-				 int*     ypos,
-				 int*     zpos,
+                                 int*     ypos,
+                                 int*     zpos,
                                  OutType* kernels,
                                  InType*  d_in,
                                  OutType* d_out,

			      const InType* __restrict__  d_in,
			      OutType*                    d_out) {
    int batch_no = blockIdx.x;
    
    int pol_no = threadIdx.y;
    for(int i = threadIdx.x; i < maxsupport * maxsupport; i += blockDim.x) {
        int myU = i % maxsupport;
        int myV = i / maxsupport;

                    &gridsize, 
                    &nbatch,
                    &xpos,
                    &ypos,
                    &zpos,
                    &kernels,
                    &d_in,
                    &d_out};
