Updated ipython notebook with PCA changes - not finished