Only apply scaling in HomeostaticResponse if slope is nonzero, both for numerical accuracy and as an optimization.  Contributed by Marwan Jabri.