add distance struct
update test_template.c
delete backup file
finish update
update selector, you can use combination now
fix bug
update stat_on_lattice_net,
modify the template
bug fix