replace constant parameters in Elo with function

issues: #18