Added distance & angle function