Energy functions validation

This is different :
Jacobian_smoothcost_openmp_critical_section
These two are the same:
Jacobian_smoothcost_openmp
Jacobian_smoothcost