added pulse correction to the system. Beginning making improvements.