Notifiy if gain is not [0,1]
Merge pull request #607 from jtwigg/develop

Notifiy if gain is not [0,1]