payoff_vector method added.