function [meshele] = makeeles(meshnod)
% [meshele] = makeeles(meshnod);
% Uses Saga toolbox to create an element mesh
disp('makeeles.m  Saga triangulation routine')
% USE  SAGA  TO DO TRIANGULATION
tic
dirnow = cd;
if ~exist('triangul')==2
%  This is in case the saga directory is not in Matlab path
cd /home5/tom/matlab/saga
end
N3 = triangul(meshnod(:,2),meshnod(:,3));
meshele = [[1:length(N3)]' N3'];
meshele = rghthand(meshele,meshnod);
eval(['cd ',dirnow]);toc

