fixed TabularCPD's normalize method