removed type annotations for bfgs_initial_invH
added a test for bfgs_initial_invH