added quaredHellinderDistance