Ported the Vector class in the misclib, and made it compile in release mode again (has it really been that long since I last did that?).