Moved matrix generation to Arma