Determining radial profiles for prestellar cores detected with Herschel