Similar Items: Detecting overfitting in Neural Networks during long-horizon grokking using Random Matrix Theory