locus function

Calculate locus equations for two-dimensional data