[add] updates on Matrix and its unit test