Small changes to init_coefs