Fixed up some test code and got multinorm pdf working