Remove unit-casting
Remove all uses of unitFrequency. That was previously necessary when Gain.k had unit 1