DLS2 Week 1, Assignment 3, gradient_check_n subtle difference

For anyone else who sees this post, James made a mistake which produces exactly the same incorrect results, so you can find what is probably this answer on this other newer thread.