The normalisedStatistics
funcrtion is used to check if
any of the test statistics are above the threshold level. If this happens, the
status of the detector is changed to record the time of change and a message
is printed to the standard output declaring the change.