A novel cost function for heuristic-based design of compact antennas