Finding surprising patterns in a time series database in linear time and space | Synapse