This replaces some C style arrays with std::array to make copying and comparing arrays slightly nicer.