Maximizing Functions With Several Variables