new gaussweighting.m; starting on constantQ flag support