Self-phasing arrays