Javascript library to perform two dimensional matrix operations