Implemented joint probability queries in bayes net. Updated Javadocs