removed duplicated code in 'convert flat fortran to 3dmatrix' test and modified test code to ensure it passes
removed duplicated code in 'convert flat fortran to 3dmatrix' test and modified test code to ensure it passes

fangohr/ovf2vtk,fangohr/ovf2vtk