Wow dude thanks for the help!
However, I was wondering if you would not happen to know the inequalities for an ellipsoid? Also, if possible you would not happen to have the equations relating your constants:
a, b, c, d, f, g, h, i, j to the:
xc: center of ellipse in the x-direction...