Calculate total probability to properly normalize