added separate loops for removing/reordering channels, added loop for highpass filtering