Use gradient descent to solve trilateration problem with errorneous distance measurements