Feature vector computations