Make PCA and softmax octave compatible
Move common files for self-taught learning into common directory