spindles detection using Matlab GUI