a=(\frac{x_2-x_1}{b})^2+(\frac{y_2-y_1}{a})^2+(\frac{z_2-z_1}{b})^2