added readme for minFunc