Proposed fix of #405
Refactoring + Introduction of API 9 call of getRotationMatrixFrom Vector()
Update of SensorTest