Matrix Multiplication tool using HTML/JS