changed function triangulation.m to triangulate.m to make code compatible with MATLAB 2013b