This removes explicit references to members of the dmat type.

There are still a few in stres_knl, which I haven't decided how
to resolve.  Otherwise, the data structure is opaque.