Edits to inference/factor graph doc. Fix title of it in index.md