Matrix Vs Data Frame R