A number of things need to be taken into account, most importantly variations in the waves speed based upon the materials that it is passing through.[3] With adjustments for velocity changes, the initial estimate of the hypocenter is made, then a series of linear equations is set up, one for each station. The equations express the difference between the observed arrival times and those calculated from the initial estimated hypocenter. These equations are solved by the method of least squares which minimizes the sum of the squares of the differences between the observed and calculated arrival times, and a new estimated hypocenter is computed.