Notes on Probabilistic Inference for Computer Graphics Researchers