python solver for the TOV equations