Revert "allow negative gains to be set"

This reverts commit 3b45e6705f6854ed0316986374ea37931e304fc3.