script to infer potential with a minimizer
rename
commit to powell