Added dist method to calculate distance between stars
Uses x, y, z coordinates