Every function within transform_kernel was made as separate kernel call
It is appeared that one __global__ function can not be called from another __global__ funiction until th arch 34
Now the baseDir variable contains path to the all essential nonlinear data files