updated arrow function in third party code for Matlab2014b. (+1 squashed commits)

Squashed commits:

[63addca] updated arrow function in third party code for Matlab2014b.
cleaned (removed useless code) and debugged code (missing brackets)