Before writing simulation function for real signal
New signal generator. Next chp location depends on previous. Two sided changes