Add sparse matrix support to test suite.
Debug sparse matrix support.
Remove new_x support.

New_x is set to false if any evaluation method was previously called with
the same values in x, true otherwise. Moreover, a given eval function
will not be called with the same x twice in a row. Thus, we can ignore
this argument.