Update helper_functions.php

Added Documentation to some functions