Added 'rotate' function to Vector