function g=findgood(x);
g=find(x(:)~=nan);
