An Approximate Inference Approach for the PCA Reconstruction Error