%Subtracted equations from 4.38
%(-2*A1+2*A2)*x + (-2*B1+2*B2)*y + (-2*C1+2*C2)*z + 
%(2*(c^2)*t1 + -2*(c^2)*t2)*d + 
%(A1^2)-(A2^2)+(B1^2)-(B2^2)+(C1^2)-(C2^2)-(c^2)*(t1^2)+(c^2)*(t2^2) = 0

%Do the same for 3rd and 4th equations to get vectors u_x,u_y,u_z,u_d,w
%u_x = [-2*A1+2*A2;-2*A1+2*A3;-2*A1+2*A4]

%u_y = [-2*B1+2*B2;-2*B1+2*B3;-2*B1+2*B4]

%u_z = [-2*C1+2*C2;-2*C1+2*C3;-2*C1+2*C4]

%u_d = [2*(c^2)*t1 + -2*(c^2)*t2; 2*(c^2)*t1 + -2*(c^2)*t3; 
        %2*(c^2)*t1 + -2*(c^2)*t4]

        
%w =[(A1^2)-(A2^2)+(B1^2)-(B2^2)+(C1^2)-(C2^2)-(c^2)*(t1^2)+(c^2)*(t2^2);
    %(A1^2)-(A3^2)+(B1^2)-(B3^2)+(C1^2)-(C3^2)-(c^2)*(t1^2)+(c^2)*(t3^2);
    %(A1^2)-(A4^2)+(B1^2)-(B4^2)+(C1^2)-(C4^2)-(c^2)*(t1^2)+(c^2)*(t4^2)]

