Added scal, swap and rot headers

-Removed empty dot.cc file.
-Note: swap assumes that vectors being swapped are of the same type.