Modifying script to test for versions of numpy, scipy, astropy, and matplotlib