A continuum model for current distribution in Rutherford cables