added trait beta matrix