fixed BFGS for complex. I understood the formulas, but am still not sure if I need to take a real of s1.