moved weight vector computations to tatonnement service