replace setpars and setpath with setInitial.m