Development of automated interictal spike detector