Sensor value arrays have size 3;
predefine size of rotationMatrix and orientationValues