The function returns a pointer to the i-th element of a vector_int v using ().
@ param i : index for ith element
If i lies outside the allowed range of 0 to n-1 then the error handler is invoked