Fixed xrange probem in profile; fixed complex number problem in Hessian
add random seed
Rename sig2 as scale, add fields to results
Minor changes to comments
Override from_formula to eliminate need for set_random