Thomas Galloway — Scottish mathematician (1796–1851)