Naive point classifier - quadratic instead of linear.

Using intervals package instead of thinking.