added cache math api to python
allows cache math from the routing subsystem