Medoid Calculation for Crop Anomaly Detection