Create fmincg.m