Fixed a bug causing program to not compute pairwise differences for last QID in training set. Printing of top features added