Unsupervised Learning For Passive Beamforming In Sonar