kelly criterion initial implementation