added methods to calculate all doc and topic probabilities. added a method to print doc probabilities to console.