tidy up larch templates for PCA, LCF, and peak fitting