Ellipsoid Surface Fitting

The general equation of a 3D conic surface is given by

Under the constraint

Such that by removing $C$, we have