Expanded support for casting primitive arrays in ParameterMangler. As far as I know the MarkovEstimator is working... not sure what's wrong with the test cases on the ISTC cluster...