Moodie, William, 1759-1812