very minor optimizations
very minor optimizations

sandeepkrjha/pgmpy,ankurankan/pgmpy,pgmpy/pgmpy,liquidmetal/pgmpy,abinashpanda/pgmpy,liquidmetal/pgmpy,sandeepkrjha/pgmpy,ankurankan/pgmpy,abinashpanda/pgmpy,khalibartan/pgmpy,anaviltripathi/pgmpy,kris-singh/pgmpy,anaviltripathi/pgmpy,pgmpy/pgmpy,jhonatanoliveira/pgmpy,jhonatanoliveira/pgmpy,kris-singh/pgmpy,khalibartan/pgmpy