Multi-space PCA with its application in fault diagnosis