Detecting Anomalies within Time Series using Local Neural Transformations