You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: moveinward.m
    path of file: ./repos/fecgsyn/subfunctions/data-generation/libs/fieldtrip/private
    
    the code of the file until where you have to start completion: function [pos] = moveinward(pos, move)
%This functions moves 'pos' inward according to their normals by 'move'
%units
propos = elproj(pos); % projection to 2D
tri = delaunay(propos); %creates delaunay triangulation of 2D plane, which will be used for the the 3D case
nor = normals(pos,tri); %compute normals of surface
ori = surfaceorientation(pos, tri, nor);
if ori==1
  % the normals are outward oriented
elseif ori==-1

    
function [pos] = moveinward(pos, move)
%This functions moves 'pos' inward according to their normals by 'move'
%units
propos = elproj(pos); % projection to 2D
tri = delaunay(propos); %creates delaunay triangulation of 2D plane, which will be used for the the 3D case
nor = normals(pos,tri); %compute normals of surface
ori = surfaceorientation(pos, tri, nor);
if ori==1
  % the normals are outward oriented
elseif ori==-1
  % the normals are inward oriented
  nor = -nor;
else
  ft_warning('cannot determine the orientation of the vertex normals');
end