Refactor: Replace malloc verhulst_array with std::vector