Chi-square similarity

Under construction!