fixed a bug in calculating comet distance to parent that mightve been throwing off the parameter calculation