ComponentState class could be reduced to a single std::vector<double>.
ComponentState
std::vector<double>