Replaces the extremly slow MATLAB implementation of explicit mean field with a faster c++ implementation.
Updating comments