Similar Items: Scale Invariant Neural Networks Enhanced by a Covariance-Based Dynamic Filter