Azimuth and elevation angle estimation with a three-dimensional array