Added Apache commons for eucledian distance calculation