extension of runLC examples with errf