throw exceptions for vertex and edge cases in isinside() and add appropriate tests