added new make_wht_from_pixval to ccdredux.py