Fixed intercept implementation and tests. (refs #2)