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: spec.m
    path of file: ./repos/paramonte/src/interface/MATLAB/paramonte/kernel
    
    the code of the file until where you have to start completion: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%
%%%%   MIT 
    
function helpme(self, specification)
            %   Return help for the input specification. If the input specification is missing,
            %   then help for all specifications will be returned.
            %
            %   Parameters
            %   ----------
            %
            %       specification (optional)
            %           A string or char vector representing the name of the input specification.
            %
            %   Returns
            %   -------
            %
            %       None
            %
            %   Example usage
            %   -------------
            %
            %       pmpd.spec.helpme()              % return help for all specifications.
            %       pmpd.spec.helpme("chainSize")   % return help for the specification chainSize.
            %
            specLower = "";
            errorOccurred = true;
            if nargin==2
                if isstring(specification) || ischar(specification)
                    specList = properties(self);
                    specListLen = length(specList);
                    for i = 1:specListLen
                        if strcmpi(specList{i}, specification)
                            specLower = "#" + lower(specification);
                            errorOccurred = false;
                            break;
                        end