fixed some bugs
the traces used for the recommendation are now parametrized
started to represent the terms used for the recommendation with a graph