add cubic equation solver in eos