- Modified marginalize, reduce and normalize methods to have inplace argument.
Modifed fit method in BayesianModel to fix the bugs.
Minor PEP8 fixes.