moved coefficient.[ch] to src/math