Dev2.2

Addresses issue #88

Added ability to marginalize factors to two or more variables. Modified algorithms/tests appropriately and added a new test.

All current tests pass