modularize nan value conversion

extract from read_data_objects; make a stand alone function convert_nans; do convert_nans inside of read_model_data_from_csv