Is there a specialized design pattern for this problem? I\'m developing a molucule modeler application and I need to compute a lot of 1D integrals independently. And again a