fix #7. add error handling.
no reason to identify matrix. matrix have been already identified.
v1.0.1