Debugged the problem of not generating low frequency components because of problem in genSpecSine code. Conditions are slightly changed to handle very low frequency peaks.