Added proper error handling to parser when used
to parse whole files / input streams
Refactored model.matrix implementation and added
support for factors.

In the meantime, ripped out the evil c(NA,-n) hack
used throughout the GNU R code.