fixed spelling error in optimize.optimize