Added independentdim option and tuple join functionality
Improvement in joining events
Fixes error when writing joined file
Fixed percentage issue when joining events