function F=replace0parNaN(F)
[li,co]=size(F);
for i=1:li
	j=find(F(i,:)==0);
	F(i,j)=NaN.*F(i,j);
end
