Reference implementation of symmetric brain-behavior PLS (a.k.a. Behavior PLSC).
It finds paired weight vectors for X and Y that maximize their cross-block
covariance, obtained from the SVD of the cross-covariance (or correlation)
matrix \(C_{XY} = X^\top Y / (n-1)\).