Update helper_functions.php

added Documentation to some functions