spike sorting with Bayes Optimal Template Matching in Python