added dB(GaussWeightedMagnitude) case
merged changes