Added a .ValidateHeader method to class Method that recieves an array of VariableEnums and checks, in order, that they match the types of the Variables declared in the method header.