a function that packing the whole TOV equations set
Parameters:
r (float) – raius as integrate varible
y (psudo-varible) – containing pressure, mass, h and b as intergarte varibles
equation (to solve out the TOV)
inveos – the invert of the eos, pressure and energy density relation to integrate
interpolate. (and)