VESC: a new variational autoencoder based model for anomaly detection