Update spark file gen

Make bin choices better
Update ephys code

Bug fix for Klusters compatability