replace the remaining math::tuple instances with std::array; hope i got all of them