DBN calculating errors..