Micromachined coupled resonator butler matrix