fix matlabpool call

@yuval-harpaz it's not fully working but it shows you what's wrong. Now I get other errors related to 'ADAPTIVE' not known