make comments consistent.
correct gradient checking code.