Added vector_sum with thread