Added Tex file. Modified parsing: now x^3+Ax+B