Bug fixes in __init__ method in CPD class.
Bug fixes in __init__ method in CPD class.

ankurankan/pgmpy,pratyakshs/pgmpy,kislayabhi/pgmpy,pratyakshs/pgmpy,abinashpanda/pgmpy,kislayabhi/pgmpy,yashu-seth/pgmpy,jhonatanoliveira/pgmpy,yashu-seth/pgmpy,sandeepkrjha/pgmpy,khalibartan/pgmpy,kris-singh/pgmpy,vivek425ster/pgmpy,palashahuja/pgmpy,vivek425ster/pgmpy,sandeepkrjha/pgmpy,khalibartan/pgmpy,anaviltripathi/pgmpy,jhonatanoliveira/pgmpy,kris-singh/pgmpy,abinashpanda/pgmpy,pgmpy/pgmpy,ankurankan/pgmpy,pgmpy/pgmpy,palashahuja/pgmpy,liquidmetal/pgmpy,liquidmetal/pgmpy,anaviltripathi/pgmpy