Add matrix calculation on CameraTesting.