use hormann-agathos algorithm for isinside method