Title: James Gregory (1753-1821) and Scottish scientific metaphysics, 1750-1800