got EM working for polynomial regression