Renamed ir_distances_sf/rf to ir_distances_rf/wf to coincide with the manual, also reverted to regexp over splitstr, because splitstr doesn't exist in older versions of MATLAB.