Allows coefficients to be read from input file/ written