Fix spfft

Fixed bug in spmax
Update model1

Added output - std of noise
Create calc_SNR
Create calc_SNR2

The best function for SNR estimation