added PointSlopeForm function