Solves a formulation of n-D space trilateration problem using a nonlinear least squares optimizer