move sun earth distance to solpos. add pyephem to extrarad func