Statistics for Histogram of gradient orientations of signal plots applied to P300 detection