[OPTIM] Order 2 similarity
This function is currently too long (ON CPU): https://gitlab.iscpif.fr/gargantext/haskell-gargantext/blob/dev/src/Gargantext/Core/Methods/Distances/Accelerate/Distributional.hs#L123 How to improve it ?
(Use Quickcheck tests with a random matrix as input to be sure the results are the same please)