Random linear netcoding (changed for use with CF)