fixed initial condition generation to be generalized for multiple planets