Changed so that signal rates are not rescaled if they are all zero.