added sma calculation (from planet and star temp) and period calculation