Add fwave functionality to 3D classic code.
Merge pull request #324 from ketch/fwave_3d

Add fwave functionality to 3D classic code.