Implemented update method for DifferenceAnalysis.
Implemented simulationFinished method in DifferenceAnalysis.
Implemented update and simulationFinished for OverlapAnalysis.