Added spike sorting directory variable

haven't checked for errors, this is problematic.
minor changes

everything seems to be working all right