Add new features on class Matrix, wrote some method on extractor.