Add adapters for column/row-major matrices to rotation.h This patch introduces a matrix wrapper (MatrixAdapter) that allows to transparently pass pointers to row-major or column-major matrices to the conversion functions. Change-Id: I7f1683a8722088cffcc542f593ce7eb46fca109b