updated distance calculations

Also added attack cities and transfer resources