Added Matrix Function

Transform Matrix-Vector Multiply