Update helperfunctions_towfic.r

div