Fixed bug in vanilla_convergence_test where the penalty function being used was always a put payoff (regardless of whether or not a put was specified).