Use StageXL matrix class