Fixed error in NxN estimator