Trinity professor, student using math to identify gerrymandering