[PATCH] d2d1: Implement matrix inversion functions.