Anomaly Detection using Capsule Networks for High-dimensional Datasets