}
final TimeSeries tsI = new TimeSeries(scaleArrayList(intQueryArrayList,scalepoints), false, false, ',');
final TimeSeries tsJ = new TimeSeries(scaleArrayList(intComparisonArrayList,scalepoints), false, false, ',');
DistanceFunction distFn = DistanceFunctionFactory.getDistFnByName("EuclideanDistance");
final TimeWarpInfo info = com.dtw.FastDTW.getWarpInfoBetween(tsI, tsJ, radius, distFn);
return (double) info.getDistance();
}catch (NullPointerException e){