how to set values of petsc matrix into double precision?