Added progress print statements and updated PCA.m so it is now a function rather than a script with the capability of performing PCA using shortwave or longwave files (or both).