An economic model of the English Poor Law circa 1780-1834