This addresses the enhancement in issue #18. This code can be run from the command line. Since this is a prototype, it should only be used as a starting point for implementing PCA.