Adding bulge_energy.cpp to inverse.js, with some global arrays missing