Ported encloses_point() to XS and renamed to contains_point()