Introduction - If you have any usage issues, please Google them yourself
The function of RM realize the rotation between two sets of vectors, whose magnitude are 1, defined in two different refrence frames. Input parameters are two sets of vectors r and b, return value is a rotaton matrix.