Processor and noise detector window size added to the interface.
Some fixes. Least sqaure fit moved to separate class.