Solution to the trilateration problem, implemented in Octave.