Davies, Thomas Stephens, mathematician