function y=nan2x(x,y)
% nan2x - convert nans to something else
%
% nan2x :: real, [Size] -> [Size].

y(isnan(y))=x;
