[monomial] avoid copying std::array order
internally monomial used std::array<int,dim>
to specify partial
derivatives. The partial
method takes std::array<unsigned int,dim>
as a parameter. In the current code the array was copied from. This
change updates the internal interface to std::array<unsigned int,dim>
and avoids the unnecessary copy.