[FIX] Gradient descent for bandwidth

The optimization of the bandwidth parameter is now done by gradient
descent/linear search.
[FIX] Explained variance is now included in markup
[NEW] Mean error stopping criterion.

The mean error is in mm and corresponds to the mean reconstruction
error of parameters.