Switch to Flat Sets. Performance optimization for probability calculations.

Overall optimization must be from 2 to 5 times depending on the
analysis.
Record new performance times for performance tests.