Optimizing Functions of Several Variables