docs: function histogram1D(length, init){
          var hist1D; 
          if(length instanceof Array){
              hist1D = length;
          }else {
              init = typeof init !== 'undefined' ? init : 0;
              hist1D = [];
              for(var x = 0; x< length; ++x){
                  hist1D[x] = init;   
              }
          }
          hist1D.max = histogram1DFunctions.max;
          hist1D.min = histogram1DFunctions.min;
          hist1D.cv = histogram1DFunctions.cv;
          hist1D.medianSmoothing = histogram1DFunctions.medianSmoothing;
          hist1D.gaussianSmoothing = histogram1DFunctions.gaussianSmoothing;
          hist1D.flatten = histogram1DFunctions.flatten;
          hist1D.findPeaks = histogram1DFunctions.findPeaks;
          return hist1D;
      }