[ENH] Proto: Tweaks for supporting higher order shape functions

* Automatic determination of quadrature order based on shape function
* Correct block accumulator sizing