port remainder of pointslope package