Optimization Algorithm for Antenna Impedance Matching in Digitally Tunable Network