Added a method which returns the identity matrix.