Fixed "mac" matrix

* Matrix was missing two arrays on line 14, causing an exception to be
thrown.
* Renamed instances of “array” to “matrix” for clarity.
* Removed var declaration and if statements from loadMatrix(), since
they were superfluous.
* Added license. (ISC)
querySelector for click events now getElementById