Declared sum_vec(), zeros(), norm_vec() and extend_vec()
Defined sum_vec(), zeros(), norm_vec() and extend_vec()