improved handling of dry cells

No net updates will be done in dry cells.
All changes were done in computeNetUpdates
Created unit test for the handling of dry cells