Astropy version update
I just made two minor changes to make the code installable and run able with updated version of astropy. Because, I was not able to run or even install with older version of astropy. Now, this code runs with latest astropy version.