Implements integrating signal. This method sucks