Implemented figure closing
Implemented figure closing

Matplotlib figures are now closed after plotting to save memory space.

kozajaku/spectra-analyzer,kozajaku/spectra-analyzer,kozajaku/spectra-analyzer