Add some basic function of matrix