Factor part of tutorial in documentation
Wrote more of the factor part of the tutorial
Wrote part about marginals in tutorial
Added tests for factor division
Reimplemented scalar and map methods