Resolved java compatibility issues with MATLAB R2013/14