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: splint.m
    path of file: ./repos/fieldtrip/private
    
    the code of the file until where you have to start completion: function [V2, L2, L1] = splint(elc1, V1, elc2, order, degree, lambda)


    
function [V2, L2, L1] = splint(elc1, V1, elc2, order, degree, lambda)

% SPLINT computes the spherical spline interpolation and the surface laplacian
% of an EEG potential distribution
% 
% Use as
%   [V2, L2, L1] = splint(elc1, V1, elc2)
% where
%   elc1    electrode positions where potential is known
%   elc2    electrode positions where potential is not known
%   V1      known potential
% and
%   V2      potential at electrode locations in elc2
%   L2      laplacian of potential at electrode locations in elc2
%   L1      laplacian of potential at electrode locations in elc1
%   order   order of splines
%   degree  degree of Legend