updated astropy usage to v0.4