Updated c vector to lua