updated elements_are_numbers() and is_a_number() to use the same method, and to handle "i" as well as "()"