Add factorial and gamma explanation