added a function for creating a VECTOR with confidence