added variants for matrix multiplication