finished variable number of basis images for IPCA. still contains magic 28 x 28 pixel number in basisims.js, but will adjust to different dimensionality for each node.