Add missing data parameter to polynomial regression example.

And add semicolons to both code examples.