added matrix

making a matrix js yay