Madocks, William Alexander, 1773-1828