Matlab 2014b compatibility

git-svn-id: https://sccn.ucsd.edu/svn/software/eeglab@10430 1e58238c-3a72-4c0f-aabe-36d030380f39
Fix to force points out of range to be in the valid range.This is necsesary since the double multiplication could lead to shift in points

git-svn-id: https://sccn.ucsd.edu/svn/software/eeglab@10431 1e58238c-3a72-4c0f-aabe-36d030380f39
Remove last region to be rejected if this one was added in eeg_lat2point

git-svn-id: https://sccn.ucsd.edu/svn/software/eeglab@10432 1e58238c-3a72-4c0f-aabe-36d030380f39
Last fix was extended for epoch cases

git-svn-id: https://sccn.ucsd.edu/svn/software/eeglab@10433 1e58238c-3a72-4c0f-aabe-36d030380f39
merge with upstream EEGLAB SVN