add more test and size method to Matrix