used cudaMalloc for 1-row or 1-column matrix instead of cudaMallocPitch
renamed gpu_private.hpp to private.gpu.hpp