changed inference.r - maybe we don't include factor A in A's
computation?

also added more mean field, and structured mean field writeup