Merge pull request #517 from jabooth/rm_dgemm

remove dgemm calls (replace with np.dot)
Merge remote-tracking branch 'upstream/master' into pca_generator