First version of process_biases() function (and make_red_dir, process_bias utility functions)