Cowie, William Garden, 1831-1902