Added IP_Adj computation for test set