updated Erlang documentation (fixes #42) and moved prior param defaults into main body of code (fixes #41). Also made sure normal priors were on the log-scale params not the natural scale.