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: obsolete_headmodel_singleshell_new_old.m
    path of file: ./repos/fieldtrip/test/invalid
    
    the code of the file until where you have to start completion: function test_headmodel_singleshell_new_old

% MEM 1gb
% WALLTIME 00:10:00
% DEPENDENCY ft_headmodel_singleshell ft_prepare_headmodel ft_headmodel_singleshell

% generate a unit sphere
[pnt, tri] = mesh_sphere(162);

% create the BEM geometries
geom = [];
geom.bnd(1).pnt = pnt * 100;
geom.bnd(1).tri = tri;
geom.bnd(2).pnt = pnt * 90;
geom.bnd(2).tri = tri;

    
function test_headmodel_singleshell_new_old

% MEM 1gb
% WALLTIME 00:10:00
% DEPENDENCY ft_headmodel_singleshell ft_prepare_headmodel ft_headmodel_singleshell

% generate a unit sphere
[pnt, tri] = mesh_sphere(162);

% create the BEM geometries
geom = [];
geom.bnd(1).pnt = pnt * 100;
geom.bnd(1).tri = tri;
geom.bnd(2).pnt = pnt * 90;
geom.bnd(2).tri = tri;
geom.bnd(3).pnt = pnt * 80;
geom.bnd(3).tri = tri;

grad.coilpos = pnt * 120;
grad.coilori = pnt;
grad.chanpos = pnt * 120;
grad.chanori = pnt;
grad.tra = eye(size(pnt,1));
for i=1:size(pnt,1)
  grad.label{i} = sprintf('%d', i);
end