Small script to minimize f(x,y) (Grishagin lab project)