Extinction update to Quantities

So this is an initial goal to add `Quantities`-support to the extinction functions. I've also added a few tests. 
This is not quite done yet and not ready for merge, but comments are already appreciated