removes excess typechecking and casting from CPD init
removes excess typechecking and casting from CPD init

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