Numerical reconstruction for dispersionless refractive profiles