Calibrating and Beamforming Distributed Arrays in Passive Sonar Environments