bray-curtis distance
adding and subtracting scalars from vectors
vector cloning and duplication
updated vector implementation