http://zorro-project.com/manual/en/tutorial_kelly.htm

This shows how it works, i just learned it by myself as well.