Simple class for usage of Matrix