BUG: old .mat name now fixed
BUG: making cg opt consistent