Bug fix for probability calculations

Test Plan:
WIP
Initial script to use BigQuery API

Test Plan:
WIP