Computes Euler angles

Fork of X_NUCLEO_COMMON by ST