Added converter of matrix