change c/fortran conversion of csv file reader and convert gaussian kernel