Refs #10432. Adding includes for std::transform and accumulate