I am currently looking into fixing the way the calculator looks in templates and would like to know how it is called when using the default hooks. I have looked in the calculators.inc.php file but neither of the two functions seems to chainload the other. Is there some special way in which OR calls them that I am missing?