anchor.diff:                  FSharp.Stats.ML.Unsupervised.DbScan.compute FSharp.Stats.ML.DistanceMetrics.euclideanNaNSquared minPts squaredEPs filteredPoints                
               let clusterlist=                 
                   clusterresult.Clusterlist 
  -                    |> Seq.map (fun x -> x 
  -                                            |> Seq.map (fun x -> x.[0],x.[1])
  -                                            |> centroidOfTupelList
  -                                ) 
  +                    |> Seq.map (fun x -> 
  +                        x 
  +                        |> Seq.map (fun x -> x.[0],x.[1])
  +                        |> centroidOfTupelList
  +                    ) 
               clusterlist,clusterresult
           clustercentroids
   
  -    //gives final centroids and clusterresult
  -    let inline isolateCentroids2 eps minPts (marrList:Marr.MarrWavelet list) followingFrames zEqualityDistance (data:seq<'a[,]>)=  
  +    ///takes borderpadding(40), imgP, and DBSCAN parameters and gives final centroids and clusterresult
  +    let inline isolateCentroids borderpadding eps minPts (marrList:Marr.MarrWavelet list) followingFrames zEqualityDistance (data:seq<'a[,]>)=  
           ///calculates the centroid of a given TupelList. This function is needed in the DBSCAN
           let centroidOfTupelList (tList: seq<float*float>) =
               let length = tList |> Seq.length
  
positive.code:                     let meanY   = (Array.fold (fun acc a -> acc + a) 0. yValues) / float (yValues.Length)
                      createLocalMaxima 0 meanX meanY nan
          
          let numberOfFrames = array.Length
          
          let searchForSingle (lm: LocalMaxima)=
              let i = lm.FrameNumber
  
negative.code: 
          let filteredPoints = 
              marrList
              |> List.map (fun x -> zEqualityFilter followingFrames zEqualityDistance (isolateLocalMaxima x data))//(collectAllFrameInformation x data))
              |> Array.concat     
              |> Array.distinct
              |> Array.map (fun x -> [|x.Y;x.X|])
  