transfer PDMats to JuliaStats