Make transformation calculations more efficient

Use a stack of matrices to compute the hierarchical
transformation that recursively get applied to each
item in the scene graph.

Moved rendering logic out to GLManager