correct matrix mult output