Create hullFun.r