power spectra and correlation matrix work, gui bugs fixed