Global and local error values are now calculated correctly
Added a function in PyDOOMS to call when adding outgoing updates. Updated monte-carlo implementation to use the new function.
Updated test.py to use PyDOOMS.objectUpdated instead of addOutgoingUpdate
Small refactor to debug-messages. Also refactored common code in barrierStart() and barrierAck() into barrierDoneCheck()