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: Cord2.m
    path of file: ./repos/NASTRAN_CoFE/nastran_cofe/nastran_input_processors
    
    the code of the file until where you have to start completion: % Helper superclass for defining coordinate sys
    
function obj = constructCord2(obj,entryFields)
            % Construct using entry field data input as cell array of char  
            obj.cid = castInputField('CORD2x','CID',entryFields{2},'uint32',NaN,1);
            obj.rid = castInputField('CORD2x','RID',entryFields{3},'uint32',uint32(0),0);
            obj.a = zeros(3,1);
            obj.b = zeros(3,1);
            obj.c = zeros(3,1);
            obj.a(1) = castInputField('CORD2x','A1',entryFields{4},'double',NaN);
            obj.a(2) = castInputField('CORD2x','A2',entryFields{5},'double',NaN);
            obj.a(3) = castInputField('CORD2x','A3',entryFields{6},'double',NaN);
            obj.b(1) = castInputField('CORD2x','B1',entryFields{7},'double',NaN);
            obj.b(2) = castInputField('CORD2x','B2',entryFields{8},'double',NaN);
            obj.b(3) = castInputField('CORD2x','B3',entryFields{9},'double',NaN);
            obj.c(1) = castInputField('CORD2x','C1',entryFields{12},'double',NaN);
            obj.c(2) = castInputField('CORD2x','C2',entryFields{13},'double',NaN);
            obj.c(3) = castInputField('CORD2x','C3',entryFields{14},'double',NaN);
        end