Changed computation logic

Now, all this module does is to export the graph of an iteration in the optimization process. Unfortunately, since there is no values used here, the logging facility has become superfluous and will now be the responsibility of the caller.

There could be a statistic class to return useful informations to the caller about the optimization process. Should be taken in consideration for more complex algorithms.