Adding frobenius norm check of EE'D in debug mode.