polynomial template using verbose formatting
added simple cli
use csr sparse matrix to compute the coefficient (mainly to suppress the warning, as it seems to work anyway