consolidated the calculation of recommended relations under one function
fixed a number of issues with the way memento timestamps were be being calculated; removed code