Ramsay, David, 1794-1860