Computational methods and mathematical measures for population relationships