An improved flow resistance formula