%NaN2Val	y=NaN2Val(x,val)
%	y is the same matrix as x, but with all NaNs (Not a Numbers)
%	converted to the value val.
