Adding Matrix lib

Adding javascript library to make Matrix operations