correct dtwavexfm3.m