ComonGAP(A, A.hat)A is however nearly singular the values of the criterion can be huge.
Note that this function assumes the ICA model is $X = S A'$, as is assumed by JADE and ics. However fastICA and
PearsonICA assume $X = S A$. Therefore matrices from those functions have to be transposed first.