Sir James Mackintosh, 1765 - 1832. Philosopher