remove_comments function

Remove comments from formula before it is evaluated