Visualize Cost Function and gradient norm evolution over iterations.