CCA is a method which maximises correlation between linear combinations of the columns of
two blocks, i.e. max(cor(X1 x a, X2 x b)). This is done sequentially with deflation in between, such
that a sequence of correlations and weight vectors a and b are associated with a pair of matrices.