added a warning for explicit matrix inversions