Model check data type

fixes #934 
possibly fixes #933

when running a model, check the syntactic format of the input data (must be same as header of the model's input file)