Proof-of-concept for computing pairwise affinities (a la spectral clustering) in a Pyspark environment.