Added allocTransform API to return pointer to internal matrix cache.
Updated docs.