Email (record): Beamforming and Power Control in Sensor Arrays Using Reinforcement Learning