% from Jess

global PKZ;
global PKZ1;
global N;
global windowNum;
global estMar;

[minval, ansPKZ ] = min( PKZ );

estMar(windowNum) = ansPKZ - 1;
