Added parameter K, number of cols of second matrix to read at a time
added toPipeOut(MIMO)
added parameter J, number of rows fetched at a time