Bugs fixed in simple max likelihood regression algorithm.
Math not checked.
Only polynomial basis functions.