prepfunction tested on bcc, minor hitches in babyfunctions resolved. seems to work, now to write EOF function!
can write means to new netCDF now, but must make separate netCDFs for each mean as they will all produce EOFs, PCs etc... will first check EOF calc and writing though.
check PC writing to ncdf, add variance bit