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

% MEM 1gb
% WALLTIME 00:10:00
% DEPENDENCY ft_prepare_sourcemodel ft_read_sens ft_read_headmodel 

    
function failed_ft_prepare_sourcemodel

% MEM 1gb
% WALLTIME 00:10:00
% DEPENDENCY ft_prepare_sourcemodel ft_read_sens ft_read_headmodel 
% DATA private

% function to test ft_prepare_sourcemodel given configuration options (cfg), 
% a single sphere volume condution model (vol), and gradiometer information
% (sens)
%
% additionally, we try both (1) a standard CTF275 gradiometer file and 
% (2) an extended version derived from ft_headmovement with cfg.numclusters = 10 
% A. Stolk

success = true;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% load single sphere volume conduction model
vol = ft_read_headmodel(dccnpath('/home/common/matlab/fieldtrip/data/test/latest/vol/Subject01vol_singlesphere.mat'));

% load gradiometer information of an exemplary subject
grad_standard = ft_read_sens(dccnpath('/home/common/matlab/fieldtrip/data/test/latest/sens/ctf275.mat'));


% load the same gradiometer information treated with ft_headmovement (10 clusters)
grad_extend