Creating function cnv2nc
Script cnv2nc now uses the function cnv2nc