Fix major inefficiency in DNAVec sub function