Creating cage using NEO 6m GPS module

Later you use "fix.location.DistanceKm()" so that is not a String. I think you want a "TinyGPSLocation"

 TinyGPSLocation fix;

 if (gps.location.isValid())
    fix = gps.location;

Later you use "fix.location.DistanceKm()" but I don't think that function exists. You probably want the
double gps.distanceBetween(double lat1, double long1, double lat2, double long2);