SMS: Distribution theory of algebraic numbers