Error analysis of hydrographic positioning and the application of least squares.