UAI file parser change in Graphical Models toolkit + minor edits