removed SNCosmo and astropy calls for extinction calculation and provide extinction calculation based on photUtils