Cache camera and actor matrices for performance

With many actors they are used over and over again and computing
them is expensive.

Change-Id: I7e2ab5d17a089c7f9bfebffe754c6ea6fcb65319
Remove the unused old code

Change-Id: I5327eb5aa9002b59e77c96d4fcce527026ad0508
Merge topic 'some_matrix_optimizations' into master

cf1516a2 Remove the unused old code
69d845e3 Cache camera and actor matrices for performance