how does rotation matrix work. There are any references about how does rotation matrix work in here. you can look below.