Fixed MATLAB version dependant symbolic bug. All examples tested and run on Ubuntu 14.04 with MATLAB 2012b and 2013b, and Mac with MATLAB 2014a.