Added loadUnivariatePdf() function call to StateFuncs constructor