Application of a maximum likelihood type estimator to the towed array shape estimation problem