L2 Distance added as option for the CHI distance