Update matrix.js

Removed unnecessary variables, changed font size/width