fixed bug in cpp files
fixed bug in bi_read_var
read_var_simulator and read_var_input now just call get.var.ncdf, and don't use args "ps" and "ts". To be fixed later. The dimensions of arrays are permuted to respect NetCDF order.
added function "netcdf_create_from_list" to create general NetCDF files based on a list of vectors, and various updates of the doc and examples.