Refactored to take coefficients only.
Set eval=FALSE.