Numerical infinitesimals in a variable metric method for convex nonsmooth optimization