Adding function for matrix and vector multiplication and naming correction in rotation module