Added compilation script for Matlab