Added new deps etc to bring project up to date.
Table representation of factors implemented (and related changes)