Adding Frobenius norm output in debug mode.