Simplifying DistMatrix C wrappers