Parallel program with bad timer and two cycles, one for change-matrix, one for check-cycle