Well, maybe a little more than a general role, but certainly the maths and geometry was paramount in the pyramid's construction, so too with temples in general. Defining a basis from which to elicit the maths and geometry is the key, though...man-made scaled models according to specific astronomical counterparts and occurances in relation to not just the Earth but a man also; and incorporating specific mathematical and geometrical formulas to 'tame' and 'command' nature's secrets.
What is one of nature's secrets? The cycles and locations of the solstices and equinoxes: while they have their moments played out on our horizon, these moments are also played out against the astral background. Include the location or appearance of a particular star at a particular moment in time, and lenghty observations offer up specific formulas through which time and space can be cross referenced. Ergo, the Sothic Cycle within the precessional cycle defines Sirius does not wander like the rest of the stars, and having something that is perfect every 1461 years is certainly better than something perfect every 25,700 years. Well, something like this.