Handles switches by deleting, not zeroing appropriate matrix
entries. Avoids problem with rounding error.