Finished the main function of the class GPCAExtractor, and add some new
features on class Matrix.