Merged the calculations of e and d into the calculation of c. Rewrote ligand::evaluate in C style
Inlined mr(i, i) in initializing h in ligand::bfgs
Removed _ between variable name and 0,1,2,3
Declared variables at the beginning of ligand::bfgs in C style