sped up DenseVector.zeros for the common case of primitive values.