added function call for compBoundaryCond  in computeNetUpdates