Analyzing the capacitance-voltage measurements of vertical wrapped-gated nanowires