Effect of electron velocity distribution on the heating of core by corona in a spherical pellet