defines a model.matrix function for the terms class
model.matrix.terms(...)
This is not to be called by the user. It fixes a bug whose solution was suggested by Bill Dunlap, TIBCO Software Inc.