Update Matrix3.js

Add [array] input support