function y = finite(x);
% 
% substitute for deprecated function finite
% calls isfinite instead
% SH 16 March 2011
%
y=isfinite(x);
return