making nc files from coefs