Optimized poker code for speed; add boltzmann normalization