Added doPlot for synchronise function. Added sync test data. Not used yet.