Make off-diagonal entries of the column related to Dirichlet BC also zero to enable cg solver for some problems