David Tweedie — Scottish mathematician (1865-1934)