add vector methods

cVector::isZero
cVector::equalTo
cVector::distance