Updated Matrix Library