bug fixes to singles detection

transfer all signles detection to new method which compares the first
1/3 (all puncta) of the text file to the last 1/3 (trajectroy puncta)