             // Dot
             let first = tps[0]
             let second = tps[1]
-            let mid = midPoint(first, second)
-            let midDist = dist(first, mid)
+            let mid = self.midPoint(first, second)
+            let midDist = self.dist(first, mid)
     
             path.moveToPoint(first)
             let startAngle: CGFloat = 0.0

    
    
    
    override func touchesMoved(touches: Set<UITouch>, withEvent event: UIEvent?) {
        guard let touch = touches.first else { return }
        
        let s: [UITouch]?

    
    
    
    override public func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
        guard let touch = touches.first else { return }

        let s: [UITouch]?
