added apply_model to node.cpp
use quadratic model for simplex cost function
had to allow for adjusting the values of ff in simplex if the
temperature changes
playing around with using the quadratic model as the cost
function for the simplex.  It is not working