rotate vector
Merge github.com:coolhflashgit/MyCPlusPlus