pca: compute mean patch
pca: compute product of patches
tmpformat: add option to avoid normalization of data