Update vector2.rb

corrected bug with name never being set, but still used in to_s