Bareiss: Add some shortcuts for sparse matrices