Major cleanup to all spike sorting scripts