Replace alphahull with sp

Due to  several issues with the alphahull package we have replaced it. The extract function is now based on the sp package and the function point.in.polygon.