update to astropy 0.4 api for coordinates