extrat function

Calculate extraterrestrial solar radiation