A new cost function for the extraction of the small-signal model for MESFET and HEMT devices