bindings and examples updated with CS_Energy