output flow function of input flow

Changed output flow to be a function of input flow rather then
internally calculated.