cosmo sphere offsets hdr

function [offsets, distances] = cosmo_sphere_offsets(radius)