function y=extract(o,dim,range)
% EXTRACT - Extract a sub-array

y=extract(o.current,dim,range);
