Fixing bug in and testing blackbody_wn