added updateCalculationNodes to the remove node function to fix bug reported by #68