Refactored Vector in C.