refactored and removed some code
added option to fetch triple weights for random baseline. this method avoids the need to store our random baselines on hdfs, saving disk space (and it does not cost us much computation time)