Added distance calculations and fav coffices to profiles
Fixed merge conflicts