changed IPCA node center and bases data to 1 x D and d x D arrays rather than specifically reshaped into images as before. still need to vary the number of basis images with local dimensionality