An application of nonnegative matrices to the synchronization of chaotic oscillators