Replaced std::stod before I forget.