Given two matrices, A and B, where matrix A contains M rows and K columns, and matrix B contains K rows and N columns, calculate the matrix C, with each element of C in a separate worker thread. (Java)