Added optimization for norm() function in Vector class.
Added get_sum to vector.
Before partitioning, TXN scheme is now applied.