Update existing modules to astropy

While some of the chapters are timeless and still valid (python, numpy, scipy, matplotlib), some should be rewritten for use with astropy instead of deprecated modules that are now superceeded by `astropy` (`asciitable`, `pyfits`, ...)