Translated Emma's PCA, created a separate graphing utility
moved emmas PCA into the new framework