Correctly attach nullspace to both mat and pmat