Added functions sessions, matchSubjects, matchProposersReceivers, calculatePayoff, and getTotalAmount.