Fix rounding issues in as.matrix
Modify scipen to avoid scientific notation