[MATLAB] Fixed bool typemaps
[MATLAB] Implemented integer typemaps
[MATLAB] Upated library routines