Class function conversions from std::vector to pkmn::array