Uploading new code

adding astronomy method