Make quad
integration measures stateless
#748
Merged
quad
integration measures stateless
#748