3D version of lw2.f90
3D version of artvis.f90
modified dimension of array in lw2