Nullspaces of matrices and their compounds