Adding new matlab stuff