Added code to recover X-dimensional vector after using PCA