Generalised canonical analysis.