dfOut was being initialized in an if statement.

This allows the function to work for stats other than otherStat.