Added LogBDeu and updated BDeu to set score to Double.MIN_VALUE when it
is 0.