Squeezed multiple behavior stream creation into one function using a matrix.