Matrix (mathematics) Wikipedia
Calculate
Transformation
Rotation
Rotation formalisms in three dimensions Wikipedia
Cross Product
Dot Product