Added demultiplex function to krrad.py file. Also made rad.py pipeline work with this function.