Fixed some bugs in the loading subroutines and bug in the sync function. Updated utilities/labelBhv.m and added utilities/SubstractRanges.m