anchor.diff:  ///padd the start and end of the signal with random data points
   let borderPadMethod = Padding.BorderPaddingMethod.Random
   
  -///the maximal distance that is allowed between data points is the average spacing
  +///the maximal distance that is allowed between data points is the minimum spacing divided by 2
   let minDistance = 
  -    Padding.HelperFunctions.getMedianSpacing data (-)
  +    (Padding.HelperFunctions.getMinimumSpacing data (-)) / 2.
   
   //maximal allowed gap between datapoints where internalPaddingMethod can be applied.
   //if internalPaddingMethod = hugeGapPaddingMethod, then it does not matter which value is chosen
  
positive.code: 
  //alternative presentation of the wavelet correlation coefficients as line charts
  let defaultChart =
      let myYAxis() =
              Axis.LinearAxis.init(
                  Title="Temperature and Correlation",Mirror=StyleParam.Mirror.All,Ticks=StyleParam.TickOptions.Inside,Showline=true)
      let myXAxis() =
              Axis.LinearAxis.init(
                  Title="Time",Mirror=StyleParam.Mirror.All,Ticks=StyleParam.TickOptions.Inside,Showline=true)
      let rawDataChart =
          [|Chart.Area(data,Name= "rawData")|]
      let cwtCharts =
  
negative.code: 
  (***hide***)
  let defaultZeroChart =
      let rawDataChart =
          [|Chart.Area(data,Name= "rawData")|]
      let cwtCharts =
  