bringing in eigopt.m