Astrophysics related code by Prof X