adding low rank inverse and determinant calculations