Add method WriteGridFile in method VoxelInit in class convMxN