Basic Erlang statistics library