Removed 'abstract' keyword from matlab code for compatibility with old matlab versions