Fixed bug in synchronizationBarrier.

Allowed single value for rounds in Discrete Matrix.